package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserLoginByTelRequest {

    @ApiModelProperty("用户手机号码")
    @NotBlank(message = "登录账号不能为空")
    private String userTel;

    @ApiModelProperty("验证码不能为空")
    @NotBlank(message = "验证码不能为空")
    private String code;

    @ApiModelProperty("短信验证码Id")
    @NotNull(message = "请先获取验证码")
    private Long smsId;


}
